package com.campus.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Course {
    private Long id;
    private String courseName;
    private String courseCode;
    private String teacher;
    private Integer weekday;        // 1-7
    private LocalTime startTime;    // TIME 类型对应 LocalTime
    private LocalTime endTime;
    private String classroom;
    private String weeks;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;


}